package com.enjoyor.soa.traffic.api.service.dubbo.psas;

import com.enjoyor.soa.traffic.api.dto.psas.EmergencyExpertInfoDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

public interface IDubboEmergencyExpertInfoService {
	/**
	 * 分页查询
	 * @param page
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	ResultPojo getEmergencyExpertInfoPage(Page page);
	
	/**
	 * 列表查询
	 * @param expertName 专家姓名（模糊查询）
	 * @param roleName 专家角色
	 * @param belongFieldName 所属领域
	 * @return
	 */
	ResultPojo getEmergencyExpertInfoList(String expertId,String expertName,String roleId,String roleName,String belongFieldId,String belongFieldName);
	

	/**
	 * 新增专家信息
	 * @param emergencyExpertInfo
	 * @param username
	 */
	ResultPojo addEmergencyExpertInfo(EmergencyExpertInfoDto emergencyExpertInfo ,String username);
	
	/**
	 * 修改专家信息
	 * @param emergencyExpertInfo
	 * @param username
	 */
	ResultPojo editEmergencyExpertInfo(EmergencyExpertInfoDto emergencyExpertInfo,String username);
	
	/**
	 * 删除专家信息
	 * @param expertId
	 * @param username
	 */
	ResultPojo deleteEmergencyExpertInfo(String expertId,String username);
	
}
